xquery version "1.0";

import module namespace actmod="http://www.example.com/actmod" at "xmldb:exist:///db/projdb/modules/activity_mod.xqm";

(: collection to investigate :)
let $doc := collection('/db/projdb/ge-2009')
let $iandp_file := doc('/db/projdb/initiators_and_participants_ge2009.xml')
let $speaker_file := doc('/db/projdb/lijst_van_sprekers_ge2009.xml')
let $mayors_file := doc('/db/projdb/lijst_burgemeesters_2007.xml')
let $onderbrekers_totalen_file := doc('/db/projdb/onderbrekerstotalen.xml')
let $output_collection := 'xmldb:exist:///db/projdb'
let $output_filename := 'participatie_parameters_ge2009.xml'

return actmod:generate_activity_parameters($doc, $iandp_file, $speaker_file, $mayors_file, $onderbrekers_totalen_file, $output_collection, $output_filename)